package com.wanjia.estate.pojo.httpservice;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AccessLevel;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class Hyxxchx {

    @Data
    public static class Request implements Serializable {
        private List<RequestData> data;
    }

    @Data
    public static class RequestData implements Serializable {
        @JSONField(name = "cert_num")
        private String certNum;
        private String clientName;
    }

    @Data
    public static class Response implements Serializable {
        private Integer code;
        private String message;
        private List<ResponseData> data;
    }

    @Data
    public static class ResponseData implements Serializable {
        @JSONField(name = "CERT_NO")
        private String certNo;
        @JSONField(name = "CERT_NUM")
        private String certNum;
        @JSONField(name = "DEPT_NAME")
        private String deptName;
        @JSONField(name = "ID_TYPE")
        private String idType;
        @JSONField(name = "MARRY_STATUS")
        private String marryStatus;
        @JSONField(name = "NAME")
        private String name;
        @JSONField(name = "OP_DATE")
        private String opDate;
        @JSONField(name = "OP_TYPE")
        private String opType;
        @JSONField(name = "REG_DETAIL")
        private String regDetail;
        @JSONField(name = "RN")
        private String rn;
        @JSONField(name = "SEX")
        private String sex;
        @JSONField(name = "SPOUSE_CERT_NUM")
        private String spouseCertNum;
        @JSONField(name = "SPOUSE_CERT_TYPE")
        private String spouseCertType;
        @JSONField(name = "SPOUSE_ID_TYPE")
        private String spouseIdType;
        @JSONField(name = "SPOUSE_NAME")
        private String spouseName;
    }
}
